package com.group.seckill.feign;

import com.group.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author lins
 * @date 2021/11/15 11:12
 */
@FeignClient("admin")
public interface AdminFeignService {
    @RequestMapping("/admin/shopcommodity/info/{skuId}")
    R getSkuInfoBySkuId(@PathVariable("skuId") Integer skuId);
}
